﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace PC.AzureMultiApp.Core.Models
{
    public class AzureEventModel
    {
        [DataType(DataType.Text)]
        [Display(Name = "Value")]
        public string RoleInstance { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "Value")]
        public string ProviderName { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "Value")]
        public long Level { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "Value")]
        public string Description { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "Value")]
        public string RawXml { get; set; }

        [DataType(DataType.Text)]
        [Display(Name = "Value")]
        public DateTime EventDateTime  { get; set; }
    }
}
